docs: fix description and add missing spaces - #14202
Merged
Merged
Conversation
Propagates fix from 10f021c ("docs: fix example and description") to a sibling site with the same doubled sentence-ending period in a C header documentation comment. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JPpNMgm5XwGLrxHLQK1oVg
Propagates fixes from cb9723a ("docs: update examples") and 7026843 ("style: add missing spaces") to the remaining TypeScript declaration files indenting object-literal option keys in JSDoc examples with four spaces instead of five. Affected packages: `ndarray`, `ndarray/find`, `ndarray/find-last`, `ndarray/broadcast-scalar-like`, `ndarray/from-scalar-like`, `string/first`, and `string/last`. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JPpNMgm5XwGLrxHLQK1oVg
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
Aug 12, 2026
ndarray, string, and constants
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request:
developbetween 2026-08-11 and 2026-08-12 to sibling packages with the same defects.Doubled period in C header doc comment (source: 10f021c)
Removes a doubled sentence-ending period from the C header doc comment in
@stdlib/constants/float32/eps(include/stdlib/constants/float32/eps.h, line 23), which read "...floating-point number.." — the float64 sibling header already uses a single period. Found via a repo-wide scan for the same defect fixed in 10f021c, which corrected an identical doubled period in the@stdlib/stats/base/ndarray/dnanmeanpnheader. No functional change; doc comment only.JSDoc example indentation in TypeScript declaration files (sources: cb9723a, 7026843)
Fixes JSDoc example indentation in TypeScript declaration files, propagating the correction from cb9723a and 7026843 (merged to develop 2026-08-11), which fixed object-literal option keys indented four spaces after the comment asterisk instead of the conventional five (e.g.
* 'dtype': 'generic'→* 'dtype': 'generic'). A repo-wide scan turned up the same defect in seven remaining declaration files; this corrects all 57 lines. The@stdlib/ndarraynamespace declaration is generated by_tools/scripts/create_namespace_types.jsfrom sub-package declarations, and its one affected line derives fromndarray/broadcast-scalar-like, fixed in this same commit, so the manual edit matches what the next regeneration will emit. Two remaining instances, inblas/ext/base/ndarray/ccopy-withinandzcopy-within, are intentionally excluded — already fixed by open PR #14201.@stdlib/ndarray(namespace declarations, 1 line)@stdlib/ndarray/find(1 line)@stdlib/ndarray/find-last(1 line)@stdlib/ndarray/broadcast-scalar-like(26 lines)@stdlib/ndarray/from-scalar-like(24 lines)@stdlib/string/first(2 lines)@stdlib/string/last(2 lines)Related Issues
No related issues.
Questions
No.
Other
Validation performed:
rgover*.hfor doubled periods; over**/docs/types/index.d.tsfor four-space option-key indentation, where 761 files use the five-space form).docs/style-guidesand sibling packages fixed by the source commits.blas/ext/base/ndarray/ccopy-within/zcopy-within(covered by open PR style: add missing spaces #14201); four-space@examplefunction-body lines inndarray/docs/types/index.d.tsderiving fromndarray/count-if(different construct — fix belongs incount-ifat source);..-terminated inline//comments in.jsfiles (different context from doc comments).Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code as part of an automated routine which propagates recently merged fixes to sibling packages. Candidate sites were located by pattern search and validated by independent review passes against the source commits and repository conventions.
@stdlib-js/reviewers
Generated by Claude Code